package com.huizhan.web.view;

import com.huizhan.web.model.*;
import java.util.*;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.*;

@ApiModel(value =  "角色树形结构")
@JsonIgnoreProperties({"hibernateLazyInitializer","handler"})
public class ProjectRoleTree extends ProjectType implements Serializable {
	private static final long serialVersionUID =  271036682679543683L;

    public ProjectRoleTree(ProjectType model){
        this.setName(model.getName());
        this.setCreateDate(model.getCreateDate());
        this.setProjectTypeId(model.getProjectTypeId());
        this.children=new ArrayList<ProjectTree>();
    }

    /**
     * 子级
     */
	@ApiModelProperty(value = "子级")
    private List<ProjectTree> children ;
    
    /**
     * 获取
     * @return
     */
    public List<ProjectTree> getChildren()
    {
        return this.children;
    }


    /**
     * 设置
     * @return
     */
    public void setChildren(List<ProjectTree> model)
    {
         this.children=model;
    }
}